package com.ryan.demo.xstream.mas.model;

import java.io.Serializable;
import java.util.List;

import com.thoughtworks.xstream.annotations.XStreamImplicit;


/**
 * @Project mas
 * @Description 响应子项
 * @Company 99bill
 * @Create 2012-1-30
 * @author frank.wu
 */
public class MOResMsgRstItm implements Serializable {

	/**
	 * sid
	 */
	private static final long serialVersionUID = 4778664234118180608L;
	
	/**
	 * 订单号
	 */
	private String orderNo;
	
	/**
	 * 订单项编号
	 */
	private String orderItemNo;
	
	/**
	 * 响应码
	 */
	private String resultCode;
	
	/**
	 * 应答消息
	 */
	private String resultMsg;
	
	/**
	 * 创建时间
	 */
	private String createTime;
	
	/**
	 * 返回参数
	 */
	@XStreamImplicit(itemFieldName="param")
	private List<ResultItemParam> param;
	
	/**
	 * @return the orderNo
	 */
	public String getOrderNo() {
		return orderNo;
	}

	/**
	 * @param orderNo the orderNo to set
	 */
	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	/**
	 * @return the orderItemNo
	 */
	public String getOrderItemNo() {
		return orderItemNo;
	}

	/**
	 * @param orderItemNo the orderItemNo to set
	 */
	public void setOrderItemNo(String orderItemNo) {
		this.orderItemNo = orderItemNo;
	}

	public String getResultCode() {
		return resultCode;
	}

	public void setResultCode(String resultCode) {
		this.resultCode = resultCode;
	}

	public String getResultMsg() {
		return resultMsg;
	}

	public void setResultMsg(String resultMsg) {
		this.resultMsg = resultMsg;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}
		

	/**
	 * @return the param
	 */
	public List<ResultItemParam> getParam() {
		return param;
	}

	/**
	 * @param param the param to set
	 */
	public void setParam(List<ResultItemParam> param) {
		this.param = param;
	}


	/**
	 * 返回项参数值
	 * @Project mas
	 * @Description
	 * @Company 99bill
	 * @Create 2012-2-21
	 * @author frank.wu
	 */
		
	public static class ResultItemParam{
		/**
		 * 参数名
		 */
		private String paramName;
		
		/**
		 * 参数值
		 */
		private String paramValue;

		/**
		 * @return the paramName
		 */
		public String getParamName() {
			return paramName;
		}

		/**
		 * @param paramName the paramName to set
		 */
		public void setParamName(String paramName) {
			this.paramName = paramName;
		}

		/**
		 * @return the paramValue
		 */
		public String getParamValue() {
			return paramValue;
		}

		/**
		 * @param paramValue the paramValue to set
		 */
		public void setParamValue(String paramValue) {
			this.paramValue = paramValue;
		}
		
		
	}
	
}
